/* normal 模式下 */
html {
  font-size: calc(100vh/6.67);
}
html,
body {
	background-color: rgb(40, 44, 52);
  color: rgb(40, 44, 52);
  overflow: hidden;
}
body {
  padding: 0 20px;
}
#typer {
  font-size: initial;
}
.startsContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
span {
  margin: 0.05rem 0;
  font-size: 0.16rem;
	display: inline-block;
}
.heart {
  position: absolute;
  width: 100px;
  height: 90px;
  top: 30%;
  left: 50%;
  margin-top: -45px;
  margin-left: -50px;
}
.heart:before,.heart:after {
	content: '';
	position: absolute;
	top: 0;
	width: 50px;
	height: 80px;
	background: #fc2e5a;
	border-radius: 50px 50px 0 0;
}
.heart:before {
	left: 50px;
	transform: rotate(-45deg);
	transform-origin: 0 100%;
}
.heart:after {
	left: 0;
	transform: rotate(45deg);
	transform-origin: 100% 100%;
}
/* .heart-bg {
  animation: heart-anim 1s linear .4s infinite;
}
.heart-bg:before,.heart-after {
	background-color: #ff7693;
} */

.heart-main {
  animation:pounding .5s linear infinite alternate;
  -moz-animation:pounding .5s linear infinite alternate;
  -webkit-animation:pounding .5s linear infinite alternate;
  -o-animation:pounding .5s linear infinite alternate;
}
.show {
  animation: a-show 5s linear;
  -moz-animation: a-show 5s linear;
  -webkit-animation: a-show 5s linear;
  -o-animation: a-show 5s linear;
}

@keyframes pounding {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes a-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes pounding {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
@-moz-keyframes a-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes pounding {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
@-webkit-keyframes a-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes pounding {
  0% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
@-o-keyframes a-show {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* @keyframes heart-anim {
  46% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  52% {
    transform: scale(1.5);
  }
  55% {
    transform: scale(3);
  }
  100% {
    opacity: 0;
    transform: scale(50);
  }
} */
#timer {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 60%;
}
#timer > span {
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
  text-shadow: 0 8px 9px #c4b59d, 0px -2px 1px #fff;
}
/* 动画展示区域 */
.board {
  width: 100%;
  height: 100%;
  position: absolute;
  right: calc(-100vw - 10px);
	background-color: rgb(40, 44, 52);
  top: 0;
  border-left: 10px solid #f5deb3; 
  transition: right 2s;
  -moz-transition: right 2s; /* Firefox 4 */
  -webkit-transition: right 2s; /* Safari 和 Chrome */
  -o-transition: right 2s; /* Opera */
}
.lip {
  animation: a-lip 2.5s linear forwards 1;
  -moz-animation: a-lip 2.5s linear forwards 1;
  -webkit-animation: a-lip 2.5s linear forwards 1;
  -o-animation: a-lip 2.5s linear forwards 1;
  position: absolute;
  left: 0;
  top: 127px;
  width: 490px;
  height: 372.4px;
  overflow: hidden;
  background-image: url("~@img/lips.svg");  
  background-size: cover;
}
@keyframes a-lip {
  0% {
    transform: scale(0) rotateZ(3deg) translateY(0);
  }
  7% {
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  55% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(10px);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(0);
  }
}
@-webkit-keyframes a-lip {
  0% {
    transform: scale(0) rotateZ(3deg) translateY(0);
  }
  7% {
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  55% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(10px);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(0);
  }
}
@-moz-keyframes a-lip {
  0% {
    transform: scale(0) rotateZ(3deg) translateY(0);
  }
  7% {
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  55% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(10px);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(0);
  }
}
@-o-keyframes a-lip {
  0% {
    transform: scale(0) rotateZ(3deg) translateY(0);
  }
  7% {
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  20% {
    opacity: 1;
    transform: scale(0.1) rotateZ(3deg) translateY(0);
  }
  55% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(10px);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotateZ(3deg) translateY(0);
  }
}
